package net.wanho.service;

import net.wanho.dto.AuthGrantDTO;
import net.wanho.dto.RoleDTO;
import net.wanho.po.AuthInfo;
import net.wanho.po.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.po.UserInfo;
import net.wanho.vo.PageInfo;

import java.util.List;

/**
* @author 王洋
* @description 针对表【role(角色表)】的数据库操作Service
* @createDate 2024-09-03 17:43:36
*/
public interface RoleService extends IService<Role> {

    List<Role> findlist();

    PageInfo<Role> listPage(Integer pageNum, Integer pageSize, RoleDTO roleDTO);

    List<Integer> getRoleAuthIdList(Integer roleId);

    void updateAuth(AuthGrantDTO authGrantDTO);
}
